package com.red.star.wechat.data.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_room_info")
public class RoomInfo extends BaseEntity {

    private Integer fansId;

    private String name;

    private String mobile;

    private String roomType;

    @Transient
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date submitTime;

    @Transient
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date submitEndTime;

    @Transient
    private String openId;

    @Transient
    private String unionId;

    /**
     * 商场code
     */
    private String mallCode;

    @Transient
    private String mallName;
}
